Skip to main content

User Information

User Information API
​

Get the user's nickname, avatar, and wallet address​

API about user information If you want to query information about a user, you can use the following interfaces.

Gethttps://open.debox.pro/openapi/authorize/userinfo​

Obtain user base information Usage Example:

curl -X GET -H "X-API-KEY: t2X........AlEF6"   "https://open.debox.pro/openapi/authorize/userinfo?user_id=uvg2p6ho"

Parameters​

Query​

user_id : String Userid of the user. The userid of the authorized user, can be obtained during login authorization

X-API-KEY : String App Key, apply on platform https://developer.debox.pro/

Responses​

200: OK​
{
"code": 1,
"data": {
"name": "ltx", // user name
"wallet_address": "0xsadf......34df", // wallet address
"avatar": "https://data.debox.space/nfts/0x67a7f09c/699-1.png",// user header image
"uid": "fxidfef4" // the same to user_id
},
"message": "success",
"success": true
}